From: Eli Zaretskii Date: Sun, 6 Mar 2016 17:36:57 +0000 (+0200) Subject: Improve doc string of 'shell-command' X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~23^2~511 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=993b2fb;p=emacs.git Improve doc string of 'shell-command' * lisp/simple.el (shell-command): Mention that COMMAND is prompted for. (Bug#22926) --- diff --git a/lisp/simple.el b/lisp/simple.el index 0b04b80cb67..84a1919bc01 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -3195,6 +3195,8 @@ shell (with its need to quote arguments)." "Execute string COMMAND in inferior shell; display output, if any. With prefix argument, insert the COMMAND's output at point. +Interactively, prompt for COMMAND in the minibuffer. + If COMMAND ends in `&', execute it asynchronously. The output appears in the buffer `*Async Shell Command*'. That buffer is in shell mode. You can also use